package org.bird.classloader;

/**
 * 验证java类加载模型:双亲委派模型
 * @author liangjf
 *
 */
public class ClassLoader {

	public static void main(String[] args) {
		java.lang.ClassLoader loader = ClassLoader.class.getClassLoader();
		System.out.println(loader);
		if (loader.getParent() != null) {
			System.out.println(loader.getParent());
			System.out.println(loader.getParent().getParent());
		}
	}

}
